const path = require('path')
const CopyWebpackPlugin = require('copy-webpack-plugin')
module.exports = {
  // publicPath: '/gisdemo',
  configureWebpack: {
    plugins: [

      new CopyWebpackPlugin([
        {
          from: path.resolve(__dirname, './public/static'), 
          to: path.resolve(__dirname, './dist/static'),
          toType: 'dir'
        }
      ]),
    ]
  }
}